package com.geekcoding.geekoj.controller.admin;

import com.geekcoding.geekoj.entity.Subject;
import com.geekcoding.geekoj.mapper.SubjectMapper;
import com.geekcoding.geekoj.repository.SubjectRepository;
import com.geekcoding.geekoj.service.UserService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController()
@RequestMapping("/api/admin/subject")
public class AdminSubjectController extends BaseAdminController<Subject, Subject, SubjectMapper, SubjectRepository> {

    public AdminSubjectController(SubjectRepository repository, UserService userService) {
        super(repository, userService);
    }
}
